package com.b2c.product.service;

import com.b2c.product.pojo.dto.SpecParamDto;
import com.b2c.product.pojo.entity.SpecParam;
import com.baomidou.mybatisplus.extension.service.IService;
import org.springframework.validation.annotation.Validated;
import result.Result;

import javax.validation.Valid;

/**
* @author Administrator
* @description 针对表【mall_spec_param(参数表)】的数据库操作Service
* @createDate 2024-03-20 17:29:59
*/
@Validated
public interface SpecParamService extends IService<SpecParam> {

    Result getBySpgId(Integer spgId);

    Result insert( SpecParamDto specParamDto);

    Result delete(Integer id);

    Result updateSpecParam( SpecParamDto specParamDto,Integer id);

    Result getBySppId(Integer sppId);

    Result getBranchById(Integer branchId);
}
